package cn.zzqayy.steward.gateway.api;

import cn.zzqayy.steward.ResultJson;
import cn.zzqayy.steward.gateway.api.fallbacks.HelloServiceFallbackServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "steward-examination", fallback = HelloServiceFallbackServiceImpl.class)
public interface IHelloService {

    @PostMapping("/hello")
    ResultJson hello();

}
